package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老人送诊
对象 elderly_referral
 * 
 * @author ruoyi
 * @date 2021-08-03
 */
public class ElderlyReferral extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long erId;

    /** 用户 */
    @Excel(name = "用户")
    private Long publicuserId;
    private String UserName;

    /** 经度 */
    @Excel(name = "经度")
    private String erLen;

    /** 纬度 */
    @Excel(name = "纬度")
    private String erLat;

    /** 地址 */
    @Excel(name = "地址")
    private String erAddress;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date erCratetime;

    public void setErId(Long erId) 
    {
        this.erId = erId;
    }

    public Long getErId() 
    {
        return erId;
    }
    public void setPublicuserId(Long publicuserId) 
    {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId() 
    {
        return publicuserId;
    }
    public void setErLen(String erLen) 
    {
        this.erLen = erLen;
    }

    public String getErLen() 
    {
        return erLen;
    }
    public void setErLat(String erLat) 
    {
        this.erLat = erLat;
    }

    public String getErLat() 
    {
        return erLat;
    }
    public void setErAddress(String erAddress) 
    {
        this.erAddress = erAddress;
    }

    public String getErAddress() 
    {
        return erAddress;
    }
    public void setErCratetime(Date erCratetime) 
    {
        this.erCratetime = erCratetime;
    }

    public Date getErCratetime() 
    {
        return erCratetime;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("erId", getErId())
            .append("publicuserId", getPublicuserId())
            .append("erLen", getErLen())
            .append("erLat", getErLat())
            .append("erAddress", getErAddress())
            .append("erCratetime", getErCratetime())
            .toString();
    }
}
